import Mock from "mockjs";
Mock.mock("/api/list", {
    "list|10": [
      {
        id: "@id",
        title: "@ctitle(2)",
        "children|20": [
          {
            id: "@id",
            title: "@ctitle(2)",
            name: "@cname",
            img: "@image(100X100,@color)",
            num: 0,
            "price|100-1000": 10,
            flag:false
          },
        ],
      },
    ],
  });
  